﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace JXT.PrimaryKey.Batman.Core.Configuration
{
    /// <summary>
    /// 服务配置节点
    /// </summary>
    public class ServiceConfigurationElement : ConfigurationElement
    {
        /// <summary>
        /// 服务URL
        /// </summary>
        [ConfigurationProperty("url", IsRequired = true)]
        public Uri Url
        {
            get { return this["url"] as Uri; }
            set { this["url"] = value; }
        }
    }
}
